package cn.laixueit.pojo;

import java.util.Date;
import java.util.Map;

public class Goods extends GoodsDetail{
    private Long id;

    private String name;

    private Integer price;

    private String imgs;

    private Integer status;

    private Integer sales;

    private Date createtime;

    private Date lasttime;

    private Integer category1;

    private Integer category2;

    private Integer category3;

    private Integer brandid;

    private String sellingpoint;

    private Integer wieght;

//    添加价格区间
    private Map<String,Integer> mapPrice;

    public Map<String, Integer> getMapPrice() {
        return mapPrice;
    }

    public void setMapPrice(Map<String, Integer> mapPrice) {
        this.mapPrice = mapPrice;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs == null ? null : imgs.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public Integer getCategory1() {
        return category1;
    }

    public void setCategory1(Integer category1) {
        this.category1 = category1;
    }

    public Integer getCategory2() {
        return category2;
    }

    public void setCategory2(Integer category2) {
        this.category2 = category2;
    }

    public Integer getCategory3() {
        return category3;
    }

    public void setCategory3(Integer category3) {
        this.category3 = category3;
    }

    public Integer getBrandid() {
        return brandid;
    }

    public void setBrandid(Integer brandid) {
        this.brandid = brandid;
    }

    public String getSellingpoint() {
        return sellingpoint;
    }

    public void setSellingpoint(String sellingpoint) {
        this.sellingpoint = sellingpoint == null ? null : sellingpoint.trim();
    }

    public Integer getWieght() {
        return wieght;
    }

    public void setWieght(Integer wieght) {
        this.wieght = wieght;
    }



}